

package com.chaihu.jpaDemo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * @author
 *
 */
@SpringBootApplication
@EnableScheduling
@EnableAsync
@ComponentScans(value = {
    @ComponentScan(value = {"com.chaihu.jpa.config"})
})
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
    }
}

